<!DOCTYPE html>
<html lang="en">
<head>
  <title>浩然金融中心管理平台</title>
  <meta charset="utf-8">
  <meta content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"
        name="viewport">
  <#include "/common/csslib.html">
</head>
<body>
<div class="main-wrapper">
  <!-- start: MAIN CONTAINER -->
  <div class="main-container inner">
    <!-- start: PAGE -->
    <div class="main-content">
      <div class="container">
        <div class="form-horizontal  h-form-warp">
          <div class="h-msg-title h-table-header" style="width:83%">
            <strong><b>${apiFacadeDoc.apiFacadeCode!}(${apiFacadeDoc.apiFacadeName!})</b></strong>
          </div>
          <form action="" class="form-horizontal" id="apiFacadeDocForm" method="post" role="form">
            <div class="h-msg-title h-table-header" style="width:83%">
              <strong>maven配置</strong>
            </div>
            <div class="form-group">
              <div class="col-sm-10">
                <pre>${apiFacadeDoc.apiFacadeMavenConfig!}</pre>
              </div>
            </div>
          </form>
          <#list apiFacadeDoc.methodList as method>
          <div class="h-msg-title h-table-header" style="width:83%">
            <strong><b>${method.methodName!}：${method.methodCode!}</b></strong>
          </div>
          <form action="" class="form-horizontal" id="apiFacadeMethodForm" method="post" role="form">
            <div class="h-msg-title h-table-header" style="width:83%">
              <strong>方法请求对象</strong>
            </div>
            <div class="form-group">
              <div class="col-sm-10">
                <label class="control-label">${method.request!}</label>
              </div>
            </div>
            <div class="h-msg-title h-table-header" style="width:83%">
              <strong>方法响应对象</strong>
            </div>
            <div class="form-group">
              <div class="col-sm-10">
                <label class="control-label">${method.response!}</label>
              </div>
            </div>
            <div class="form-group">
              <#list method.publicRequestList as request>
              <#if (request.isPublicObj == "Y")>
              <div class="h-msg-title h-table-header" style="width:83%">
                <strong>公共请求对象参数：${request.objCode!}</strong>
              </div>
              <div class="form-group" style="width:100%">
                <div class="col-sm-10">
                  <table class="table-bordered table-hover text-center dataTable">
                    <thead>
                    <tr class="h-table-header" role="row">
                      <td style="width:130px">参数</td>
                      <td style="width:130px">类型</td>
                      <td style="width:130px">是否必填</td>
                      <td style="width:130px">最大长度</td>
                      <td style="width:130px">描述</td>
                      <td style="width:130px">示例值</td>
                    </tr>
                    </thead>
                    <tbody>
                    <#if (request.apiFacadeObjParamList)?? && (request.apiFacadeObjParamList?size>0)>
                    <#list request.apiFacadeObjParamList as requestParam>
                    <tr style="display: table-row;vertical-align: inherit;border-color: inherit;">
                      <td class="text-left">${requestParam.paramCode!}</td>
                      <td class="text-left">${requestParam.paramJavaTypeCn!}</td>
                      <td class="text-left">${requestParam.isRequiredCn!}</td>
                      <td class="text-left">${requestParam.maxLength!}</td>
                      <td class="text-left">${requestParam.paramDesc!}</td>
                      <td class="text-left">${requestParam.paramDemo!}</td>
                    </tr>
                    </#list>
                    <#else>
                    <tr style="display: table-row;vertical-align: inherit;border-color: inherit;">
                      <td colspan="6">暂无数据</td>
                    </tr>
                  </#if>
                  </tbody>
                  </table>
                </div>
              </div>
            </#if>
          </#list>
        </div>
        <div class="form-group">
          <#list method.publicResponseList as response>
          <#if (response.isPublicObj == "Y")>
          <div class="h-msg-title h-table-header" style="width:83%">
            <strong>公共响应对象参数：${response.objCode!}</strong>
          </div>
          <div class="form-group" style="width:100%">
            <div class="col-sm-10">
              <table class="table-bordered table-hover text-center dataTable">
                <thead>
                <tr class="h-table-header" role="row">
                  <td style="width:130px">参数</td>
                  <td style="width:130px">类型</td>
                  <td style="width:130px">是否必填</td>
                  <td style="width:130px">最大长度</td>
                  <td style="width:130px">描述</td>
                  <td style="width:130px">示例值</td>
                </tr>
                </thead>
                <tbody>
                <#if (response.apiFacadeObjParamList)?? && (response.apiFacadeObjParamList?size>0)>
                <#list response.apiFacadeObjParamList as responseParam>
                <tr style="display: table-row;vertical-align: inherit;border-color: inherit;">
                  <td class="text-left">${responseParam.paramCode!}</td>
                  <td class="text-left">${responseParam.paramJavaTypeCn!}</td>
                  <td class="text-left">${responseParam.isRequiredCn!}</td>
                  <td class="text-left">${responseParam.maxLength!}</td>
                  <td class="text-left">${responseParam.paramDesc!}</td>
                  <td class="text-left">${responseParam.paramDemo!}</td>
                </tr>
                </#list>
                <#else>
                <tr style="display: table-row;vertical-align: inherit;border-color: inherit;">
                  <td colspan="6">暂无数据</td>
                </tr>
              </#if>
              </tbody>
              </table>
            </div>
          </div>
        </#if>
      </#list>
    </div>
    <div class="form-group">
      <#list method.requestList as request>
      <#if (request.isPublicObj == "N")>
      <div class="h-msg-title h-table-header" style="width:83%">
        <strong>请求对象参数：${request.objCode!}</strong>
      </div>
      <div class="form-group" style="width:100%">
        <div class="col-sm-10">
          <table class="table-bordered table-hover text-center dataTable">
            <thead>
            <tr class="h-table-header" role="row">
              <td style="width:130px">参数</td>
              <td style="width:130px">类型</td>
              <td style="width:130px">是否必填</td>
              <td style="width:130px">最大长度</td>
              <td style="width:130px">描述</td>
              <td style="width:130px">示例值</td>
            </tr>
            </thead>
            <tbody>
            <#if (request.apiFacadeObjParamList)?? && (request.apiFacadeObjParamList?size>0)>
            <#list request.apiFacadeObjParamList as requestParam>
            <tr style="display: table-row;vertical-align: inherit;border-color: inherit;">
              <td class="text-left">${requestParam.paramCode!}</td>
              <td class="text-left">${requestParam.paramJavaTypeCn!}</td>
              <td class="text-left">${requestParam.isRequiredCn!}</td>
              <td class="text-left">${requestParam.maxLength!}</td>
              <td class="text-left">${requestParam.paramDesc!}</td>
              <td class="text-left">${requestParam.paramDemo!}</td>
            </tr>
            </#list>
            <#else>
            <tr style="display: table-row;vertical-align: inherit;border-color: inherit;">
              <td colspan="6">暂无数据</td>
            </tr>
          </#if>
          </tbody>
          </table>
        </div>
      </div>
    </#if>
  </#list>
</div>
<div class="form-group">
  <#list method.responseList as response>
  <#if (response.isPublicObj == "N")>
  <div class="h-msg-title h-table-header" style="width:83%">
    <strong>响应对象参数：${response.objCode!}</strong>
  </div>
  <div class="form-group" style="width:100%">
    <div class="col-sm-10">
      <table class="table-bordered table-hover text-center dataTable">
        <thead>
        <tr class="h-table-header" role="row">
          <td style="width:130px">参数</td>
          <td style="width:130px">类型</td>
          <td style="width:130px">是否必填</td>
          <td style="width:130px">最大长度</td>
          <td style="width:130px">描述</td>
          <td style="width:130px">示例值</td>
        </tr>
        </thead>
        <tbody>
        <#if (response.apiFacadeObjParamList)?? && (response.apiFacadeObjParamList?size>0)>
        <#list response.apiFacadeObjParamList as responseParam>
        <tr style="display: table-row;vertical-align: inherit;border-color: inherit;">
          <td class="text-left">${responseParam.paramCode!}</td>
          <td class="text-left">${responseParam.paramJavaTypeCn!}</td>
          <td class="text-left">${responseParam.isRequiredCn!}</td>
          <td class="text-left">${responseParam.maxLength!}</td>
          <td class="text-left">${responseParam.paramDesc!}</td>
          <td class="text-left">${responseParam.paramDemo!}</td>
        </tr>
        </#list>
        <#else>
        <tr style="display: table-row;vertical-align: inherit;border-color: inherit;">
          <td colspan="6">暂无数据</td>
        </tr>
      </#if>
      </tbody>
      </table>
    </div>
  </div>
</#if>
</#list>
</div>
<div class="h-msg-title h-table-header" style="width:83%">
  <strong>接口方法内容分析</strong>
</div>
<div class="form-group">
  <div class="col-sm-10">
    <#if (method.methodContentAnalysis)??>
    <pre>${method.methodContentAnalysis!}</pre>
    <#else>
    无
  </#if>
</div>
</div>
<div class="h-msg-title h-table-header" style="width:83%">
  <strong>接口调用示例</strong>
</div>
<div class="form-group">
  <div class="col-sm-10">
    <#if (method.useMethod)??>
    <pre>${method.useMethod!}</pre>
    <#else>
    无
  </#if>
</div>
</div>
</form>
</#list>
</div>
</div>
</div>
<!-- end: PAGE -->
</div>
<!-- end: MAIN CONTAINER -->
</div>
</body>
</html>
